misc: add gpio based status led driver
authorThomas Chou <[email protected]>
Fri, 30 Apr 2010 03:34:14 +0000 (11:34 +0800)
committerScott McNutt <[email protected]>
Fri, 28 May 2010 14:56:03 +0000 (10:56 -0400)
commit3e6b86b5552840bb4147871a753840eb3923374c
treee99778f2e762cf8f52898a81ff13480de1939f99
parentcedd341d551b6b705e97ab1953a87575b9ff9ef9
misc: add gpio based status led driver

This patch adds a status led driver followed the GPIO access
conventions of Linux. The led mask is used to specify the gpio pin.

Signed-off-by: Thomas Chou <[email protected]>
Tested-by: Ian Abbott <[email protected]>
Signed-off-by: Scott McNutt <[email protected]>
drivers/misc/Makefile
drivers/misc/gpio_led.c [new file with mode: 0644]